package payment.mobilepos.unionpay.com.metroguide.app;

import android.app.Application;
import android.content.Context;

import com.iflytek.cloud.SpeechUtility;

import payment.mobilepos.unionpay.com.metroguide.R;

/**
 * <pre>
 *     author : liuso
 *     e-mail : xxx@xx
 *     time   : 2018/12/21
 *     desc   :
 *     version: 1.0
 * </pre>
 */
public class MyApplication extends Application {
    private static MyApplication app;

    @Override
    public void onCreate() {
        SpeechUtility.createUtility(MyApplication.this, "appid=" + getString(R.string.app_id));
        super.onCreate();
        app = this;
    }

    public static Context getAppContext() {
        return app;
    }
}
